package com.kgc.store.remote;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.store.pojo.OutStoreDetail;
import com.kgc.store.pojo.QualityDetail;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface QualityDetailRemote {

    @RequestMapping("getQualityDetailList")
    @ResponseBody
    ResponseMsg getQualityDetailList(@RequestParam("qualityCode") String qualityCode);

    @RequestMapping("delQualityDetailByQualityCode")
    @ResponseBody
    ResponseMsg delQualityDetailByQualityCode(@RequestParam("qualityCode") String qualityCode);

    @RequestMapping("addQualityDetail")
    @ResponseBody
    ResponseMsg addQualityDetail(@RequestBody QualityDetail qualityDetail);
}
